<table class="list">
    <?php for ($i = 0; $i < sizeof($best_sell); $i = $i + 4) { ?>
    <tr>
      <?php for ($j = $i; $j < ($i + 4); $j++) { ?>
      <td>
		<div class="row" style="visibility: visible; opacity: 1; display: block;">
			<ul>
				<p class="picture">
				<a href="<?php if(isset($best_sell[$j]['href']) == true){echo $best_sell[$j]['href'];} ?>">
					<img width="60" alt="" src="<?php if(isset($best_sell[$j]['thumb']) == true){echo $best_sell[$j]['thumb']; } ?>" />
				</a>
				</p>
				<p class="price">
					<?php if(isset($best_sell[$j]['price']) == true){echo $best_sell[$j]['price']; } ?>
				</p>
			</ul>
		</div>
      </td>
  <?php } ?>
</tr>
<?php } ?>
</table>